package org.example.modules.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.modules.user.entry.ApplyDetails;
import org.example.modules.user.entry.User;
import org.example.modules.user.entry.vo.ApplyRecordsVo;

import java.util.List;

@Mapper
public interface ApplyDetailsMapper extends BaseMapper<ApplyDetails> {

    List<ApplyDetails> getAllApply();

    void updateApplyStatus(Integer Id, String status,String reason);

    List<ApplyRecordsVo> getApplyRecords(String userName);

    ApplyDetails getApplyDetails(Integer id);
}